package com.park.service;

import java.util.List;

import com.park.model.Permissions;

public interface PermissionsService {

	int insert(Permissions permissions);

	int update(Permissions permissions);

	int delete(long id);

	List<Permissions> selectList(int startPage, int pageSize);

	List<String> getByUserId(Long id);

	List<Permissions> getByName(String userName);

	List<Permissions> getByRoleName(String userName);

}
